var mysql = require('mysql');
var conn = mysql.createconnection({
	host:'localhost',
	user:'root',
	password:'123456'
	port:3306
});
conn.connect();
conn.query("select * from sqljs",function(err,rows,fields){
	if (err) throw err;
	console.log(rows);
});
conn.end()
